package com.bazhua.bazo.repository.model;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.models.auth.In;

import java.util.Date;

/**
 * @Author: starmile
 * @Description:
 * @Create: 2021-02-03 23:57
 **/
public class CouponModel {

    private Long id;
    private String couponName;
    private String couponNumber;
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private Date effectiveTimeStart;
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private Date effectiveTimeEnd;
    private Integer quantity;
    private String logoUrl;
    private String remark;
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    private Integer checkedQuantity;
    private String shopName;
    private String detailExplain;
    private Long shopAreaId;
    private String shopStreet;
    private Long shopStreetId;

    public Long getShopAreaId() {
        return shopAreaId;
    }

    public void setShopAreaId(Long shopAreaId) {
        this.shopAreaId = shopAreaId;
    }

    public String getShopStreet() {
        return shopStreet;
    }

    public void setShopStreet(String shopStreet) {
        this.shopStreet = shopStreet;
    }

    public Long getShopStreetId() {
        return shopStreetId;
    }

    public void setShopStreetId(Long shopStreetId) {
        this.shopStreetId = shopStreetId;
    }

    public String getDetailExplain() {
        return detailExplain;
    }

    public void setDetailExplain(String detailExplain) {
        this.detailExplain = detailExplain;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    private Integer status;

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    private Long shopId;

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getShopArea() {
        return shopArea;
    }

    public void setShopArea(String shopArea) {
        this.shopArea = shopArea;
    }

    public Double getLatitude() {
        return latitude;
    }

    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }

    public Double getLongitude() {
        return longitude;
    }

    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }

    private String shopArea;
    private Double latitude;
    private Double longitude;

    public Integer getSurplusQuantity() {
        return surplusQuantity;
    }

    public void setSurplusQuantity(Integer surplusQuantity) {
        this.surplusQuantity = surplusQuantity;
    }

    public Integer getReceivedQuantity() {
        return receivedQuantity;
    }

    public void setReceivedQuantity(Integer receivedQuantity) {
        this.receivedQuantity = receivedQuantity;
    }

    private Integer surplusQuantity;
    private Integer receivedQuantity;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCouponName() {
        return couponName;
    }

    public void setCouponName(String couponName) {
        this.couponName = couponName;
    }

    public String getCouponNumber() {
        return couponNumber;
    }

    public void setCouponNumber(String couponNumber) {
        this.couponNumber = couponNumber;
    }

    public Date getEffectiveTimeStart() {
        return effectiveTimeStart;
    }

    public void setEffectiveTimeStart(Date effectiveTimeStart) {
        this.effectiveTimeStart = effectiveTimeStart;
    }

    public Date getEffectiveTimeEnd() {
        return effectiveTimeEnd;
    }

    public void setEffectiveTimeEnd(Date effectiveTimeEnd) {
        this.effectiveTimeEnd = effectiveTimeEnd;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public String getLogoUrl() {
        return logoUrl;
    }

    public void setLogoUrl(String logoUrl) {
        this.logoUrl = logoUrl;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getCheckedQuantity() {
        return checkedQuantity;
    }

    public void setCheckedQuantity(Integer checkedQuantity) {
        this.checkedQuantity = checkedQuantity;
    }

    public Integer getDrawQuantity() {
        return drawQuantity;
    }

    public void setDrawQuantity(Integer drawQuantity) {
        this.drawQuantity = drawQuantity;
    }

    private Integer drawQuantity;

    private Boolean repetition;

    public Boolean getRepetition() {
        return repetition;
    }

    public void setRepetition(Boolean repetition) {
        this.repetition = repetition;
    }
}
